package com.hongxun.project.assets.pCablePit.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongxun.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 电缆井采集表 p_cable_pit
 * 
 * @author hongxun
 * @date 2019-03-19
 */
public class PCablePit extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private String id;
	/** 所属点位ID */
	private String pId;
	/** 变压器ID */
	private String byqId;
	/** 线路ID */
	private String lineId;
	/** 运行编号 */
	private String runCode;
	/** 电缆井类型 */
	private String type;
	/** 资产单位 */
	private String unit;
	/** 运维班组 */
	private String runTeam;
	/** 电缆井用途 */
	private String purpose;
	/** 创建人 */
	private Integer addUser;
	/** 创建日期 */
	private Date addDate;
	/** 最近更新人 */
	private Integer updateUser;
	/** 最近更新日期 */
	private Date updateDate;
	/** 数据状态 */
	private String datastate;
	/** 任务ID */
	private String taskId;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setPId(String pId) 
	{
		this.pId = pId;
	}

	public String getPId() 
	{
		return pId;
	}
	public void setByqId(String byqId) 
	{
		this.byqId = byqId;
	}

	public String getByqId() 
	{
		return byqId;
	}
	public void setLineId(String lineId) 
	{
		this.lineId = lineId;
	}

	public String getLineId() 
	{
		return lineId;
	}
	public void setRunCode(String runCode) 
	{
		this.runCode = runCode;
	}

	public String getRunCode() 
	{
		return runCode;
	}
	public void setType(String type) 
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}
	public void setUnit(String unit) 
	{
		this.unit = unit;
	}

	public String getUnit() 
	{
		return unit;
	}
	public void setRunTeam(String runTeam) 
	{
		this.runTeam = runTeam;
	}

	public String getRunTeam() 
	{
		return runTeam;
	}
	public void setPurpose(String purpose) 
	{
		this.purpose = purpose;
	}

	public String getPurpose() 
	{
		return purpose;
	}
	public void setAddUser(Integer addUser) 
	{
		this.addUser = addUser;
	}

	public Integer getAddUser() 
	{
		return addUser;
	}
	public void setAddDate(Date addDate) 
	{
		this.addDate = addDate;
	}

	public Date getAddDate() 
	{
		return addDate;
	}
	public void setUpdateUser(Integer updateUser) 
	{
		this.updateUser = updateUser;
	}

	public Integer getUpdateUser() 
	{
		return updateUser;
	}
	public void setUpdateDate(Date updateDate) 
	{
		this.updateDate = updateDate;
	}

	public Date getUpdateDate() 
	{
		return updateDate;
	}
	public void setDatastate(String datastate) 
	{
		this.datastate = datastate;
	}

	public String getDatastate() 
	{
		return datastate;
	}
	public void setTaskId(String taskId) 
	{
		this.taskId = taskId;
	}

	public String getTaskId() 
	{
		return taskId;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pId", getPId())
            .append("byqId", getByqId())
            .append("lineId", getLineId())
            .append("runCode", getRunCode())
            .append("type", getType())
            .append("unit", getUnit())
            .append("runTeam", getRunTeam())
            .append("purpose", getPurpose())
            .append("addUser", getAddUser())
            .append("addDate", getAddDate())
            .append("updateUser", getUpdateUser())
            .append("updateDate", getUpdateDate())
            .append("datastate", getDatastate())
            .append("taskId", getTaskId())
            .toString();
    }
}
